<?phpnamespace Common\Service;class Validator{    public static function checkPhone($phone)    {        $reg = "/^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(18[0-9]))\\d{8}$/";        if (!preg_match($reg, $phone)) {            return false;        } else {            return true;        }    }}